package com.six.biz;

import java.util.Date;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.six.vo.CheckReport;
import com.six.vo.User;
import com.six.vo.temp.CheckReportDto;

/**
 * ICheckReportBiz 盘点业务接口
 * 
 */
//@Transactional(propagation=Propagation.REQUIRED)
public interface ICheckReportBiz {
	/**
	 * 保存盘点报告
	 * 
	 */
	public List<CheckReportDto> saveCheck(String custID,String storeID,User user);
	/**
	 * 更新盘点报告
	 * 
	 */
	public void updateCheck(CheckReport checkReport);	
	/**
	 * 删除盘点报告，将盘点报告状态置为删除状态，0 为活动，1 为删除
	 * 
	 */
	public void deleteCheck(String checkID) throws Exception;
	/**
	 * 查询单个盘点报告
	 * 
	 */
	@Transactional(readOnly=true)
	public CheckReport findById(String chkrptID);
	/**
	 * 仓库库存查询
	 * 
	 */
	@Transactional(readOnly=true)
	public List<CheckReportDto> findCheckReportList(String custID,String storeID);
	/**
	 * 根据指定条件查询盘点记录
	 * 
	 */
	@Transactional(readOnly=true)
	public List<CheckReport> findCheckReports(String custID,Date startTime,Date endTime);


}
